inherited frmBuildingGroupChangeDogovors: TfrmBuildingGroupChangeDogovors
  Left = 393
  Top = 192
  Caption = #1052#1072#1089#1089#1086#1074#1086#1077' '#1080#1079#1084#1077#1085#1077#1085#1080#1077' '#1076#1086#1075#1086#1074#1086#1088#1086#1074
  OldCreateOrder = True
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  object Splitter1: TSplitter [0]
    Left = 328
    Top = 91
    Height = 454
    Beveled = True
    Color = clBtnFace
    MinSize = 450
    ParentColor = False
  end
  inherited Panel1: TPanel
    Top = 545
    Height = 28
    inherited BitBtn1: TBitBtn
      ParentShowHint = False
      ShowHint = True
    end
    inherited BitBtn2: TBitBtn
      ParentShowHint = False
      ShowHint = True
    end
  end
  inherited ToolBar1: TToolBar
    Height = 25
    EdgeBorders = [ebBottom]
    object lAddress: TLabel
      Left = 77
      Top = 0
      Width = 52
      Height = 22
      Caption = '    '#1040#1076#1088#1077#1089':  '
      Layout = tlCenter
    end
  end
  object Panel2: TPanel [3]
    Left = 331
    Top = 91
    Width = 461
    Height = 454
    Align = alClient
    BevelOuter = bvNone
    Caption = 'Panel2'
    TabOrder = 2
    object GroupBox2: TGroupBox
      Left = 33
      Top = 0
      Width = 428
      Height = 454
      Align = alClient
      Caption = ' '#1042#1099#1073#1088#1072#1085#1085#1099#1077' '#1076#1083#1103' '#1080#1079#1084#1077#1085#1077#1085#1080#1103' '#1072#1073#1086#1085#1077#1085#1090#1099' '
      TabOrder = 0
      object dbgAbonList: TDBGridEh
        Left = 2
        Top = 15
        Width = 424
        Height = 437
        Align = alClient
        DataGrouping.GroupLevels = <>
        DataSource = dscAbonList
        Flat = True
        FooterColor = clWindow
        FooterFont.Charset = DEFAULT_CHARSET
        FooterFont.Color = clWindowText
        FooterFont.Height = -11
        FooterFont.Name = 'MS Sans Serif'
        FooterFont.Style = []
        Options = [dgTitles, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgAlwaysShowSelection, dgConfirmDelete, dgCancelOnExit]
        OptionsEh = [dghFixed3D, dghHighlightFocus, dghClearSelection, dghAutoSortMarking, dghDblClickOptimizeColWidth, dghDialogFind, dghColumnResize, dghColumnMove, dghExtendVertLines]
        ReadOnly = True
        RowDetailPanel.Color = clBtnFace
        SortLocal = True
        TabOrder = 0
        TitleFont.Charset = DEFAULT_CHARSET
        TitleFont.Color = clWindowText
        TitleFont.Height = -11
        TitleFont.Name = 'MS Sans Serif'
        TitleFont.Style = []
        UseMultiTitle = True
        VTitleMargin = 5
        Columns = <
          item
            EditButtons = <>
            FieldName = 'ADDRESS_SHORT'
            Footers = <>
            Width = 378
          end>
        object RowDetailData: TRowDetailPanelControlEh
        end
      end
    end
    object Panel3: TPanel
      Left = 0
      Top = 0
      Width = 33
      Height = 454
      Align = alLeft
      BevelOuter = bvNone
      TabOrder = 1
      object SpeedButton2: TSpeedButton
        Left = 3
        Top = 80
        Width = 28
        Height = 25
        Action = aDel
        Flat = True
        Glyph.Data = {
          36040000424D3604000000000000360000002800000010000000100000000100
          2000000000000004000000000000000000000000000000000000FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF007AB7
          A7003BC09D0034BC9800FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF004ABA9C0066DAC00065E1
          CC0058E0C80019B98E00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF0060B1990039C19C0072E4CF005CDFC80051DC
          C30051DDC40019B48900FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF0048B294004DD1B50059DCC40051DAC0004ED9BF004ED9BF004ED9
          BF004ED9BF0019AB7F00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF0085BAAC0038B08D0047D2B40040D0B0003CCDAC003CCDAB003CCD
          AB003CCDAC0016A37500FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00429E7C0046CEAF0040CEAD0035C8
          A20035C8A300159A6A00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF004A9577003AB08C003CCC
          A80034C8A10015946300FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF0087A9
          9A0034956E002C906700FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00}
        ParentShowHint = False
        ShowHint = True
      end
      object SpeedButton1: TSpeedButton
        Left = 3
        Top = 16
        Width = 28
        Height = 25
        Action = aAdd
        Flat = True
        Glyph.Data = {
          36040000424D3604000000000000360000002800000010000000100000000100
          2000000000000004000000000000000000000000000000000000FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF0034BC98003BC09D007AB7A700FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF0019B98E0058E0C80065E1CC0066DAC0004ABA9C00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF0019B4890051DDC40051DCC3005CDFC80072E4CF0039C1
          9C0060B19900FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF0019AB7F004ED9BF004ED9BF004ED9BF004ED9BF0051DA
          C00059DCC4004DD1B50048B29400FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF0016A375003CCDAC003CCDAB003CCDAB003CCDAC0040D0
          B00047D2B40038B08D0085BAAC00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00159A6A0035C8A30035C8A20040CEAD0046CEAF00429E
          7C00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF001594630034C8A1003CCCA8003AB08C004A957700FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF002C90670034956E0087A99A00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00}
        ParentShowHint = False
        ShowHint = True
      end
      object SpeedButton3: TSpeedButton
        Left = 3
        Top = 112
        Width = 28
        Height = 25
        Action = aProperty
        Flat = True
        Glyph.Data = {
          36040000424D3604000000000000360000002800000010000000100000000100
          2000000000000004000000000000000000000000000000000000FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF007D7D7D007D7D7D007D7D7D00FF00FF00FF00FF007C80
          7F00858A8800858A8800858A8800858A8800858A8800858A8800858A8800858A
          8800858A88000000800000008000000080007D7D7D00FF00FF00FF00FF00858A
          8800E6E7E700E6E7E700E6E7E700E6E7E700E6E7E700E6E7E700E6E7E700D2D3
          D3007F7F7F0000008000000080007F7F7F00FF00FF00FF00FF00FF00FF00858A
          8800E6E7E700E0E3E400DFE2E300CBCDCE00AAABAB007F7F7F007F7F7F000000
          800000008000000080007F7F7F00FF00FF00FF00FF00FF00FF00FF00FF00858A
          8800F2F2F200E1E4E500E0E3E4008C8C8C000000800000008000000080000000
          8000000080007F7F7F00DBDCDC00FF00FF00FF00FF00FF00FF00FF00FF00858A
          8800F2F2F200E4E6E700DEE0E0000000800000008000ADADAD00000080000000
          80008A8E8E00D8DCDD00F2F2F200FF00FF00FF00FF00FF00FF00FF00FF00858A
          8800F2F2F200E6E8E800E4E6E6007F7F7F00AEB0B000E0E2E300BBBBBB000000
          80007F7F7F00D9DDDE00F2F2F200FF00FF00FF00FF00FF00FF00FF00FF00858A
          8800FFFFFF00EAEBEB00E9EAEA00E7E9E900E6E8E8007F7F7F00000080000000
          80007F7F7F00DDE0E000F2F2F200FF00FF00FF00FF00FF00FF00FF00FF00858A
          8800FFFFFF00EBECEC00EAECEC00E8EAEA00E7E8E90000008000000080007F7F
          7F00C0C2C200DEE1E300F2F2F200FF00FF00FF00FF00FF00FF00FF00FF00858A
          8800FFFFFF00EEEFEE00EDEDEE00EBECED00EAEBEB00E8EAEA00E6E8E900E5E7
          E700E2E5E500BABDBE00CCCDCD00FF00FF00FF00FF00FF00FF00FF00FF00858A
          8800FFFFFF00EFF0F000EEEFEF00ECEDEE00ECEDED00E9EAEB00E8EAEA00D6D7
          D700CFD2D300AFB1B100AEAFAF00FF00FF00FF00FF00FF00FF00FF00FF00858A
          8800FFFFFF00F2F2F200F2F2F100EFEFF000EEEFEF00ECEDED00EBECED00858A
          8800E9E9E900E9E9E900E9E9E900FF00FF00FF00FF00FF00FF00FF00FF00858A
          8800FFFFFF00F3F3F300F2F3F200F0F1F000F0F0F000EDEEEF00EDEEED00858A
          8800E9E9E900F4F4F400858A8800FF00FF00FF00FF00FF00FF00FF00FF00858A
          8800D3D3D300FFFFFF00FFFFFF00FFFFFF00FFFFFF00F9F9F900F8F9F900858A
          8800E9E9E900FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00858A
          8800858A8800858A8800858A8800858A8800858A8800858A8800858A8800858A
          8800858A8800FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00}
        ParentShowHint = False
        ShowHint = True
      end
      object SpeedButton4: TSpeedButton
        Left = 3
        Top = 48
        Width = 28
        Height = 25
        Action = aAddAll
        Flat = True
        Glyph.Data = {
          36040000424D3604000000000000360000002800000010000000100000000100
          2000000000000004000000000000000000000000000000000000FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF0085BA
          AC00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF0057D7
          BC003BC09D00FF00FF00FF00FF00FF00FF0034BC98003BC09D007AB7A700FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF0056DF
          C70058E0C8006EE1CC0066DAC00062AD960019B98E0058E0C80065E1CC0066DA
          C0004ABA9C00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF0053DD
          C40051DDC40052DCC4005CDFC8006CDCC40019B4890051DDC40051DCC3005CDF
          C80072E4CF0039C19C0060B19900FF00FF00FF00FF00FF00FF00FF00FF004FDA
          C0004ED9BF004ED9BF004ED9BF004ED9BF0019AB7F004ED9BF004ED9BF004ED9
          BF004ED9BF0051DAC00059DCC4004DD1B50048B29400FF00FF00FF00FF003ECE
          AD003CCDAC003CCDAB003CCDAB003DCEAC0016A375003CCDAC003CCDAB003CCD
          AB003CCDAC0040D0B00047D2B40038B08D0085BAAC00FF00FF00FF00FF0038C9
          A40035C8A30037C9A40040CEAD002CAF8600159A6A0035C8A30035C8A20040CE
          AD0046CEAF00429E7C00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF0034C8
          A00034C8A1003FC7A4003AB08C00FF00FF001594630034C8A1003CCCA8003AB0
          8C004A957700FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF002EAF
          870034956E00FF00FF00FF00FF00FF00FF002C90670034956E0087A99A00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF0087A7
          9800FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
          FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00}
        ParentShowHint = False
        ShowHint = True
      end
    end
  end
  object GroupBox1: TGroupBox [4]
    Left = 0
    Top = 91
    Width = 328
    Height = 454
    Align = alLeft
    Caption = ' '#1057#1087#1080#1089#1086#1082' '#1072#1073#1086#1085#1077#1085#1090#1086#1074' '#1079#1076#1072#1085#1080#1103' '
    TabOrder = 3
    object dbgAbons: TDBGridEh
      Left = 2
      Top = 15
      Width = 324
      Height = 437
      Align = alClient
      DataGrouping.GroupLevels = <>
      DataSource = dscAbons
      Flat = True
      FooterColor = clWindow
      FooterFont.Charset = DEFAULT_CHARSET
      FooterFont.Color = clWindowText
      FooterFont.Height = -11
      FooterFont.Name = 'MS Sans Serif'
      FooterFont.Style = []
      Options = [dgTitles, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgAlwaysShowSelection, dgConfirmDelete, dgCancelOnExit]
      OptionsEh = [dghFixed3D, dghHighlightFocus, dghClearSelection, dghAutoSortMarking, dghDblClickOptimizeColWidth, dghDialogFind, dghColumnResize, dghColumnMove, dghExtendVertLines]
      ReadOnly = True
      RowDetailPanel.Color = clBtnFace
      TabOrder = 0
      TitleFont.Charset = DEFAULT_CHARSET
      TitleFont.Color = clWindowText
      TitleFont.Height = -11
      TitleFont.Name = 'MS Sans Serif'
      TitleFont.Style = []
      UseMultiTitle = True
      VTitleMargin = 5
      Columns = <
        item
          EditButtons = <>
          FieldName = 'ADDRESS_SHORT'
          Footers = <>
          Width = 285
        end
        item
          EditButtons = <>
          FieldName = 'GEN_TARIFF'
          Footers = <>
        end
        item
          EditButtons = <>
          FieldName = 'GEN_NORM'
          Footers = <>
        end
        item
          EditButtons = <>
          FieldName = 'SERVICE'
          Footers = <>
        end
        item
          EditButtons = <>
          FieldName = 'MANAG'
          Footers = <>
        end
        item
          EditButtons = <>
          FieldName = 'SUPPLIER'
          Footers = <>
        end>
      object RowDetailData: TRowDetailPanelControlEh
      end
    end
  end
  object GroupBox3: TGroupBox [5]
    Left = 0
    Top = 25
    Width = 792
    Height = 66
    Align = alTop
    Caption = ' '#1060#1080#1083#1100#1090#1088' '
    TabOrder = 4
    object Label1: TLabel
      Left = 8
      Top = 20
      Width = 95
      Height = 13
      Alignment = taRightJustify
      AutoSize = False
      Caption = #1043#1088#1091#1087#1087#1072' '#1091#1089#1083#1091#1075
    end
    object Label2: TLabel
      Left = 8
      Top = 42
      Width = 95
      Height = 13
      Alignment = taRightJustify
      AutoSize = False
      Caption = #1044#1072#1090#1072' '#1080#1079#1084#1077#1085#1077#1085#1080#1103
    end
    object lcbServiceFilter: TDBLookupComboboxEh
      Left = 108
      Top = 18
      Width = 185
      Height = 19
      AlwaysShowBorder = True
      DropDownBox.Sizable = True
      EditButtons = <>
      Flat = True
      KeyField = 'ID'
      ListField = 'NAME'
      ListSource = dscServiceFilter
      TabOrder = 0
      Visible = True
      OnChange = dbtDateFilterChange
    end
    object dbtDateFilter: TDBDateTimeEditEh
      Left = 108
      Top = 40
      Width = 185
      Height = 19
      AlwaysShowBorder = True
      EditButtons = <>
      Flat = True
      Kind = dtkDateEh
      TabOrder = 1
      Visible = True
      OnChange = dbtDateFilterChange
    end
    object BitBtn3: TBitBtn
      Left = 302
      Top = 18
      Width = 75
      Height = 41
      Action = aSearch
      Caption = #1053#1072#1081#1090#1080
      ParentShowHint = False
      ShowHint = True
      TabOrder = 2
      Glyph.Data = {
        36040000424D3604000000000000360000002800000010000000100000000100
        2000000000000004000000000000000000000000000000000000FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF0086743900D9BF4900E6CD5100EDD35300ECD25300DFC5
        4C00C2AA42009D947700FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00AB933A00E8CE4F00EECC4C00ECC54700EBC04200EBC14300EDC9
        4A00F0D25000BDA33800C1B38500FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00AC933A00ECC54600E8B83E00E6B03800E6B03800E6B03800E5B03700E5B0
        3800E8B74600EFCE6B00EAC94A00FF00FF00FF00FF00FF00FF00FF00FF00AC95
        5000E5C04500E7B43B00E5AE3700E4AD3600E5AD3600E5AD3600E4AD3600E6B4
        4600F6E4BB00F5ECD900E9BE4600A3852600FF00FF00FF00FF00FF00FF00D4AC
        3A00E7B53B00E3A83400E3A83400E3A93700E8B75700E4AA3900E5B14700FEFC
        F800F5F1E800D39F3600E4AB3600E8BA4000AA934E00FF00FF00FF00FF00DDAE
        3A00E4AB3600E2A53200E6B35100FDFAF300FCFBF900FBF2E300F8ECD300F3EE
        E400C6A05800E2A53200E2A63200E6B23A00B7984100FF00FF00FF00FF00E0A6
        3600E0A03000EBC78700FDFBFA00C7943C00D1942C00C1985100F9F6F200DAA4
        4700E09F2F00E09F2F00E09F2F00E2A53200C49A3D00FF00FF00FF00FF00E2AF
        5600E3A94900F6E7CD00F1E8DA00DF9F3400DF9F3300DD9C3000D8C19A00E4B2
        5D00DF9D2F00DE9C2E00DF9C2E00DF9E2F00C29B4B00FF00FF00FF00FF00DBB4
        7100E6B05F00F1E1CA00F9F1E400E3AA5300E3A95100E3A74D00ECD4AE00E3B4
        6B00E1A34400E0A04000E0A03E00E4AB5400AD945500FF00FF00FF00FF00C6AB
        7300E9BB7800D7B88B00FCFBF900EABF8000E5B16300ECC48900FCFAF700DDA9
        5D00E2A64E00E1A34900E1A34700DAB16F00B8A36C00FF00FF00FF00FF00FF00
        FF00C1A56B00E8BC7F00CEA97700F4F1EC00FFFFFF00E6DDD000C3A57A00E4AE
        6300E4AC6000E3AA5C00E9BC7E00AF9C6800FF00FF00FF00FF00FF00FF00FF00
        FF00C7B99200EDD1A900EBC39000BB966600B9996F00C49B6500E4B27200E6B2
        6F00E6B36F00ECC59100D2B37D00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00A88E4E00F1D8B700F1D6B300F1D3AE00F0D2AC00F1D4
        B000E3C69C00B09E6A00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00AF9B6500C3AA7700CFB68800CDB38400B19A
        6200BEAE8100FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00}
    end
  end
  inherited ActionList1: TActionList
    Images = MAIN.ImageList
    Left = 672
    Top = 65534
    inherited aSave: TAction
      OnExecute = aSaveExecute
    end
    inherited aCancel: TAction
      OnExecute = aCancelExecute
    end
    inherited aPrint: TAction
      Visible = False
    end
    object aAdd: TAction
      Hint = #1044#1086#1073#1072#1074#1080#1090#1100' '#1072#1073#1086#1085#1077#1085#1090#1072' '#1076#1083#1103' '#1080#1079#1084#1077#1085#1077#1085#1080#1103
      ImageIndex = 23
      OnExecute = aAddExecute
    end
    object aDel: TAction
      Hint = #1059#1076#1072#1083#1080#1090#1100' '#1072#1073#1086#1085#1077#1085#1090#1072' '#1080#1079' '#1089#1087#1080#1089#1082#1072' '#1076#1083#1103' '#1080#1079#1084#1077#1085#1077#1085#1080#1103
      ImageIndex = 24
      OnExecute = aDelExecute
    end
    object aSearch: TAction
      Caption = #1053#1072#1081#1090#1080
      Hint = #1053#1081#1090#1080' '#1072#1073#1086#1085#1077#1085#1090#1086#1074
      ImageIndex = 21
      OnExecute = aSearchExecute
    end
    object aProperty: TAction
      Hint = #1053#1072#1089#1090#1088#1086#1080#1090#1100' '#1080#1079#1084#1077#1085#1103#1077#1084#1099#1077' '#1089#1074#1086#1081#1089#1090#1074#1072
      ImageIndex = 25
      OnExecute = aPropertyExecute
    end
    object aAddAll: TAction
      Hint = #1044#1086#1073#1072#1074#1080#1090#1100' '#1074#1089#1077#1093' '#1072#1073#1086#1085#1077#1085#1090#1086#1074' '#1076#1083#1103' '#1080#1079#1084#1077#1085#1077#1085#1080#1103
      ImageIndex = 26
      OnExecute = aAddAllExecute
    end
  end
  inherited PropStorage: TPropStorageEh
    Section = 'frmBuildingGroupChangeDogovors'
    Left = 640
    Top = 65534
  end
  object dsAbons: TpFIBDataSet
    RefreshSQL.Strings = (
      'SELECT'
      '    v.ID,'
      '    d.id as dog_id,'
      '    v.NAME,'
      '    v.ADDRESS_SHORT'
      'FROM V_ABONS v'
      'join dogovors d on d.abonent_id = v.id'
      
        '  and exists(select 1 from proc_dogovor_get_status(d.id, :pdate)' +
        ' p where rstatus <> 0)'
      'join services s on s.id = d.service_id'
      'where building_id = :pbuilding_id'
      '  and client_id >= 0'
      '  and cast(:exclude as d_str4000) not containing '#39';'#39'||v.id||'#39';'#39
      '  and v.id = :OLD_ID'
      'order by 4')
    SelectSQL.Strings = (
      'SELECT'
      '    v.ID,'
      '    d.id as dog_id,'
      '    v.NAME,'
      '    v.ADDRESS_SHORT,'
      '    s.name as service,'
      
        '    case (select p.rvalue from proc_dogovor_param_by_date(d.id, ' +
        #39'gen_tariff'#39', :pdate) p)'
      '      when 1 then '#39#1054#1073#1097#1080#1081#39
      '      when 0 then '#39#1048#1085#1076#1080#1074#1080#1076#1091#1072#1083#1100#1085#1099#1081#39
      '      when -1 then '#39#1044#1086#1084#1086#1074#1086#1081#39' end as gen_tariff,'
      ''
      
        '    case (select p.rvalue from proc_dogovor_param_by_date(d.id, ' +
        #39'gen_norm'#39', :pdate) p)'
      '      when 1 then '#39#1054#1073#1097#1080#1081#39
      '      when 0 then '#39#1048#1085#1076#1080#1074#1080#1076#1091#1072#1083#1100#1085#1099#1081#39
      '      when -1 then '#39#1044#1086#1084#1086#1074#1086#1081#39' end as gen_norm,'
      ''
      '    r.short_name as manag,'
      '    vs.shortname as supplier'
      '      '
      'FROM V_ABONS v'
      'join dogovors d on d.abonent_id = v.id'
      
        '  and exists(select 1 from proc_dogovor_get_status(d.id, :pdate)' +
        ' p where rstatus <> 0)'
      'join services s on s.id = d.service_id'
      '  and s.group_id = :pgroup_id'
      'join v_supplier vs on vs.id = d.supplier_id'
      'join rmanag r on r.id = d.manag_id'
      'where building_id = :pbuilding_id'
      '  and client_id >= 0'
      '  and cast(:exclude as d_str4000) not containing '#39';'#39'||v.id||'#39';'#39
      'order by v.apparts, v.letter nulls first')
    BeforeOpen = dsAbonsBeforeOpen
    Transaction = trList
    Database = MAINDM.pMainDatabase
    Left = 172
    Top = 237
    object dsAbonsID: TFIBIntegerField
      FieldName = 'ID'
    end
    object dsAbonsNAME: TFIBStringField
      FieldName = 'NAME'
      Size = 92
      EmptyStrToNull = True
    end
    object dsAbonsADDRESS_SHORT: TFIBStringField
      DisplayLabel = #1040#1076#1088#1077#1089
      DisplayWidth = 20
      FieldName = 'ADDRESS_SHORT'
      Size = 179
      EmptyStrToNull = True
    end
    object dsAbonsDOG_ID: TFIBIntegerField
      FieldName = 'DOG_ID'
    end
    object dsAbonsGEN_TARIFF: TFIBStringField
      DisplayLabel = #1042#1080#1076' '#1090#1072#1088#1080#1092#1072
      FieldName = 'GEN_TARIFF'
      Size = 14
      EmptyStrToNull = True
    end
    object dsAbonsGEN_NORM: TFIBStringField
      DisplayLabel = #1042#1080#1076' '#1085#1086#1088#1084#1072#1090#1080#1074#1072
      FieldName = 'GEN_NORM'
      Size = 14
      EmptyStrToNull = True
    end
    object dsAbonsMANAG: TFIBStringField
      DisplayLabel = #1046#1080#1083'. '#1086#1088#1075#1072#1085#1080#1079#1072#1094#1080#1103
      FieldName = 'MANAG'
      Size = 30
      EmptyStrToNull = True
    end
    object dsAbonsSUPPLIER: TFIBStringField
      DisplayLabel = #1055#1086#1089#1090#1072#1074#1097#1080#1082
      FieldName = 'SUPPLIER'
      Size = 30
      EmptyStrToNull = True
    end
    object dsAbonsSERVICE: TFIBStringField
      DisplayLabel = #1059#1089#1083#1091#1075#1072
      DisplayWidth = 30
      FieldName = 'SERVICE'
      Size = 120
      EmptyStrToNull = True
    end
  end
  object trList: TpFIBTransaction
    DefaultDatabase = MAINDM.pMainDatabase
    TimeoutAction = TARollback
    Left = 172
    Top = 205
  end
  object dscAbons: TDataSource
    DataSet = dsAbons
    Left = 140
    Top = 237
  end
  object mteAbonList: TMemTableEh
    FieldDefs = <>
    IndexDefs = <>
    Params = <>
    StoreDefs = True
    Left = 533
    Top = 233
    object mteAbonListID: TIntegerField
      DisplayWidth = 10
      FieldName = 'ID'
    end
    object mteAbonListNAME: TStringField
      DisplayWidth = 92
      FieldName = 'NAME'
      Size = 92
    end
    object mteAbonListADDRESS_SHORT: TStringField
      DisplayLabel = #1040#1076#1088#1077#1089
      DisplayWidth = 50
      FieldName = 'ADDRESS_SHORT'
      Size = 179
    end
    object mteAbonListDOG_ID: TIntegerField
      FieldName = 'DOG_ID'
    end
  end
  object dscAbonList: TDataSource
    DataSet = mteAbonList
    Left = 500
    Top = 233
  end
  object dsServiceFilter: TpFIBDataSet
    SelectSQL.Strings = (
      'SELECT distinct ss.id, ss.name'
      'FROM abonents v'
      'join dogovors d on d.abonent_id = v.id'
      'join services s on s.id = d.service_id'
      'join services ss on ss.id = s.group_id'
      'where building_id = :pbuilding_id'
      '  and client_id >= 0'
      'order by 2')
    BeforeOpen = dsServiceFilterBeforeOpen
    Transaction = trList
    Database = MAINDM.pMainDatabase
    Left = 376
    Top = 33
    object dsServiceFilterID: TFIBIntegerField
      FieldName = 'ID'
    end
    object dsServiceFilterNAME: TFIBStringField
      FieldName = 'NAME'
      Size = 120
      EmptyStrToNull = True
    end
  end
  object dscServiceFilter: TDataSource
    DataSet = dsServiceFilter
    Left = 344
    Top = 33
  end
  object dscBuilding: TDataSource
    DataSet = dsBuilding
    Left = 416
    Top = 1
  end
  object dsBuilding: TpFIBDataSet
    SelectSQL.Strings = (
      'SELECT address'
      'FROM vw_buildings'
      'where id = :pbuilding_id')
    BeforeOpen = dsServiceFilterBeforeOpen
    Transaction = trList
    Database = MAINDM.pMainDatabase
    Left = 448
    Top = 1
    object dsBuildingADDRESS: TFIBStringField
      FieldName = 'ADDRESS'
      Size = 146
      EmptyStrToNull = True
    end
  end
  object dsChange: TpFIBDataSet
    SelectSQL.Strings = (
      'SELECT'
      '    RMESSAGE,'
      '    RADDRESS,'
      '    RABONENT_ID'
      'FROM'
      '    PROC_DOGOVORS_CHANGE(:PDOGOVORS_STR,'
      '    :PPARAMS_STR,'
      '    :PDATE) ')
    Transaction = trChange
    Database = MAINDM.pMainDatabase
    Left = 556
    Top = 435
    oFetchAll = True
    object dsChangeRMESSAGE: TFIBStringField
      FieldName = 'RMESSAGE'
      Size = 1023
      EmptyStrToNull = True
    end
    object dsChangeRADDRESS: TFIBStringField
      FieldName = 'RADDRESS'
      Size = 255
      EmptyStrToNull = True
    end
    object dsChangeRABONENT_ID: TFIBIntegerField
      FieldName = 'RABONENT_ID'
    end
  end
  object trChange: TpFIBTransaction
    DefaultDatabase = MAINDM.pMainDatabase
    TimeoutAction = TARollback
    Left = 556
    Top = 403
  end
end
